package com.secondGroup.service;

import com.secondGroup.entity.User;
import com.baomidou.mybatisplus.extension.service.IService;

import javax.servlet.http.HttpServletRequest;
import java.util.HashMap;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author ws
 * @since 2022-05-05
 */
public interface UserService extends IService<User> {
    public HashMap<Integer,Object> userLogin(User user,HttpServletRequest response);

    public HashMap<Integer,Object> userLogon(User user,HttpServletRequest response);

    public HashMap<Integer,Object> getCerificationCode(String phone);

    public HashMap<Integer,Object> phoneLogin(String phone,String code);

}
